package com.waylent.todolist;

import android.app.Application;

import com.waylent.todolist.entity.MyObjectBox;

import io.objectbox.BoxStore;

public class App extends Application{

    BoxStore boxStore;

    @Override
    public void onCreate() {
        super.onCreate();

        boxStore = MyObjectBox.builder().androidContext(App.this).build();

    }

    public BoxStore getBoxStore(){
        return boxStore;
    }
}
